/*
*************************************************************************
*西瑞克斯研发管理系统
*版 本: 1.0   
*日 期：02/16/2012    
*作 者： 王浩 QQ：873987060   
*************************************************************************   
*/  

package com.application.yfapplycost.struts.form;
import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

import java.math.BigDecimal;
import java.util.List;
import com.manager.commons.StringUtil;
import com.application.yfapplycost.entity.YfApplyCost;
import java.util.Date;
 /**
 * 
 * Description: YfApplyCostForm Struts Action Form<br />
 * 
 * Version:V0.1<br />
 * 
 * Author: 王浩 QQ：873987060 <br />
 * 
 * History: <br />
 * 
 * 02/16/2012 .
 * 
 */
public class  YfApplyCostForm extends ActionForm
{

	/** serialVersionUID */
	protected static final long serialVersionUID = -1L;
	
	public YfApplyCostForm(){
  
	}

		      
	private String id;
        
        	      
	private String projectNo;
        
        	      
	private String applyNo;
        
        	      
	private String applyCause;
        
        	      
	private Date applyDate;
        
        	      
	private BigDecimal applyMoney;
        
        	      
	private Long feeType;
        
        	      
	private Long auditStatus;
        
        	      
	private String processId;
        
        	      
	private String org;
        
        	      
	private String operateid;
        
        	      
	private Date createDate;
        
        
        private String ids;

        private String projectName;

    	private String projectOrg;

    	private Long projectType;

    	private String examineFlag;

    	private String examineOption;

    	private String workItemId;                                          
	                                                                          
	                                                        	private String applyDateStr;
	                                                        	
	                                                        	private String rname;
                                                        
	
         	         	         	         	 	public String getRname() {
																	return rname;
																}


																public void setRname(String rname) {
																	this.rname = rname;
																}


													/**
	 * @return Returns the ApplyDate.
	 */
	public String getApplyDateStr(){
	        String re = "";
		if(this.applyDate == null) {
			return re;
		}
		try {
			re = StringUtil.dateToString(this.applyDate);
		}
		catch(Exception e) {
			e.printStackTrace();
		}
		return re;
	}
	

	/**
	 * @param ${field.propertyName} Set the ${field.propertyName}.
	 */	
	public void setApplyDateStr(String applyDateStr){
		this.applyDateStr = applyDateStr;
		if(this.applyDateStr != null && !"".equals(this.applyDateStr)) {
			try {
				this.applyDate = StringUtil.stringToDate(this.applyDateStr);
			}
			catch(Exception e) {
				e.printStackTrace();
			}
		}

	}
                	         	         

        	/**
	 * @return Returns the Id
	 */
	public String getId(){
		return this.id;
	}
	

	/**
	 * @param id Set the id.
	 */	
	public void setId(String id){
		this.id = id;
	}
	
        	/**
	 * @return Returns the ProjectNo
	 */
	public String getProjectNo(){
		return this.projectNo;
	}
	

	/**
	 * @param projectNo Set the projectNo.
	 */	
	public void setProjectNo(String projectNo){
		this.projectNo = projectNo;
	}
	
        	/**
	 * @return Returns the ApplyNo
	 */
	public String getApplyNo(){
		return this.applyNo;
	}
	

	/**
	 * @param applyNo Set the applyNo.
	 */	
	public void setApplyNo(String applyNo){
		this.applyNo = applyNo;
	}
	
        	/**
	 * @return Returns the ApplyCause
	 */
	public String getApplyCause(){
		return this.applyCause;
	}
	

	/**
	 * @param applyCause Set the applyCause.
	 */	
	public void setApplyCause(String applyCause){
		this.applyCause = applyCause;
	}
	
        	/**
	 * @return Returns the ApplyDate
	 */
	public Date getApplyDate(){
		return this.applyDate;
	}
	

	/**
	 * @param applyDate Set the applyDate.
	 */	
	public void setApplyDate(Date applyDate){
		this.applyDate = applyDate;
	}
	
        	/**
	 * @return Returns the ApplyMoney
	 */
	public BigDecimal getApplyMoney(){
		return this.applyMoney;
	}
	

	/**
	 * @param applyMoney Set the applyMoney.
	 */	
	public void setApplyMoney(BigDecimal applyMoney){
		this.applyMoney = applyMoney;
	}
	
        	/**
	 * @return Returns the FeeType
	 */
	public Long getFeeType(){
		return this.feeType;
	}
	
	/**
	 * @param feeType Set the feeType.
	 */	
	public void setFeeType(Long feeType){
		this.feeType = feeType;
	}
	
        	/**
	 * @return Returns the AuditStatus
	 */
	public Long getAuditStatus(){
		return this.auditStatus;
	}
	

	/**
	 * @param auditStatus Set the auditStatus.
	 */	
	public void setAuditStatus(Long auditStatus){
		this.auditStatus = auditStatus;
	}
	
        	/**
	 * @return Returns the ProcessId
	 */
	public String getProcessId(){
		return this.processId;
	}
	

	/**
	 * @param processId Set the processId.
	 */	
	public void setProcessId(String processId){
		this.processId = processId;
	}
	
        	/**
	 * @return Returns the Org
	 */
	public String getOrg(){
		return this.org;
	}
	

	/**
	 * @param org Set the org.
	 */	
	public void setOrg(String org){
		this.org = org;
	}
	
        	/**
	 * @return Returns the Operateid
	 */
	public String getOperateid(){
		return this.operateid;
	}
	

	/**
	 * @param operateid Set the operateid.
	 */	
	public void setOperateid(String operateid){
		this.operateid = operateid;
	}
	
        	/**
	 * @return Returns the CreateDate
	 */
	public Date getCreateDate(){
		return this.createDate;
	}
	

	/**
	 * @param createDate Set the createDate.
	 */	
	public void setCreateDate(Date createDate){
		this.createDate = createDate;
	}
	
                
        
	                                                                                

	private List<YfApplyCost> yfApplyCostList;

       /**
	 * @return the yfapplycostformList
	 */
	public List<YfApplyCost> getYfApplyCostList() {
		return yfApplyCostList;
	}

	/**
	 * @param yfApplyCostList the yfapplycostformList to set
	 */
	public void setYfApplyCostList(List<YfApplyCost> yfApplyCostList) {
		this.yfApplyCostList = yfApplyCostList;
	}
        
	public String getIds() {
		return ids;
	}

	public void setIds(String ids) {
		this.ids = ids;
	}

	/** 
	 * Method validate
	 * @param mapping
	 * @param request
	 * @return ActionErrors
	 */
	public ActionErrors validate(ActionMapping mapping,
			HttpServletRequest request) {
		// TODO Auto-generated method stub
		return null;
	}

	/** 
	 * Method reset
	 * @param mapping
	 * @param request
	 */
	public void reset(ActionMapping mapping, HttpServletRequest request) {
		// TODO Auto-generated method stub
	}

        public String toString(){
		return ReflectionToStringBuilder.toString(this,ToStringStyle.MULTI_LINE_STYLE);
	}


		public String getProjectName() {
			return projectName;
		}


		public void setProjectName(String projectName) {
			this.projectName = projectName;
		}


		public String getProjectOrg() {
			return projectOrg;
		}


		public void setProjectOrg(String projectOrg) {
			this.projectOrg = projectOrg;
		}


		public Long getProjectType() {
			return projectType;
		}


		public void setProjectType(Long projectType) {
			this.projectType = projectType;
		}


		public String getExamineFlag() {
			return examineFlag;
		}


		public void setExamineFlag(String examineFlag) {
			this.examineFlag = examineFlag;
		}


		public String getExamineOption() {
			return examineOption;
		}


		public void setExamineOption(String examineOption) {
			this.examineOption = examineOption;
		}


		public String getWorkItemId() {
			return workItemId;
		}


		public void setWorkItemId(String workItemId) {
			this.workItemId = workItemId;
		}
}
